package io.renren.dao;

import com.baomidou.mybatisplus.mapper.BaseMapper;
import com.baomidou.mybatisplus.plugins.Page;
import io.renren.dto.ColumnAppDto;
import io.renren.entity.App;
import io.renren.entity.AppColumnLink;
import org.apache.ibatis.annotations.Mapper;
import org.apache.ibatis.annotations.Param;

import java.util.List;

/**
 * 应用栏目关联表
 * 
 * @author chenjiacheng
 * @email 
 * @date 2019-02-11 19:04:20
 */
@Mapper
public interface AppColumnLinkDao extends BaseMapper<AppColumnLink> {

    List<ColumnAppDto> getColumnAppList( @Param("limit") int limit );

    List<App> queryAppByColumn(Page<App> page, @Param("columnId") Integer columnId );
	
}
